Skip to main content

EnableScalingGroup

Description

call EnableScalingGroup to enable a scaling group.

Request Method

POST

Request Path

/apsara/route/Ess/EnableScalingGroup

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
ActiveScalingConfigurationIdBODYstringNoNo sample value for this parameter.the id of the scaling configuration to be activated in the scaling group.
regionIdBODYstringYesNo sample value for this parameter.region id
ScalingGroupIdBODYstringYesNo sample value for this parameter.ID of the scaling group.
versionBODYstringNo2016-01-01version of api
InstanceId.NBODYstringNoNo sample value for this parameter.The ID of the ECS instance that needs to be added to the scaling group when enabled. The value range of n is 1~20.

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}